#@web_layout?()
#define css()
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/layer.css?#(getUUID())" />
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/main.css?#(getUUID())" />
#end
#define content()
<div class="c-article" style="height:100%;">
    <div class="g-feedback">
        <div class="g-map">
            <div class="u-title">联系我们</div>
            <div class="m-card">
                <div id="m-map" style="width:500px; height:300px;"></div>
                <div class="m-contact">
                    <div class="u-row">chenzw@boramer.com</div>
                    <div class="u-row">0571-81396102</div>
                    <div class="u-row">浙江省杭州市滨江区江陵路2028号星耀城1幢19楼</div>
                    <div class="u-row">
                        <div class="u-wechat" style="margin-right:15px"></div>
                        <div class="u-qq" style="margin-right:15px"></div>
                        <div class="u-weibo"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="g-mid"></div>
        <div class="g-form">
            <div class="u-title">评论反馈</div>
            <div class="m-card">
                <form id="feedback">
                    <div class="m-row" style="margin-bottom:20px;">
                        <input id="contact" class="u-contact" type="text" 
                         name="feedback.contact" placeholder="请输入您的联系方式" maxlength="11">
                    </div>
                    <div class="m-row" style="margin-bottom:20px;flex:1;">
                        <textarea style="max-height:266px;" id="content" class="u-feedback" name="feedback.content" placeholder="请输入您的意见（限300字内）..." maxlength="300"></textarea>
                    </div>
                    <div class="m-row" style="padding:0 40px;">
                        <div class="u-submit" style="border-radius:3px;" >提交</div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
#end
#define script()
<script type="text/javascript">
    var contextPath = "#(contextPath)";
    var doaminurl = "#(domain)";
</script>
<script src="#(contextPath)/assets/front/web/script/ajax.js"></script>
<script src="#(contextPath)/assets/front/web/script/platform_feedback.js"></script>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key=1d28925b08f80c679b74eaa6b954bf8f"></script>
<script type="text/javascript">
        var map = new AMap.Map('m-map',{
            resizeEnable: true,
            zoom: 17,
            center: [120.214205,30.213974]
        });
    </script>
#end